package com.ldzy.utilts;

public enum ResponseCode {
    SUCCESS_INQUIRE(8,"查询成功!"),
    SUCCESS_LOGOUT(9,"注销成功!"),
    SUCCESS(10,"操作成功！"),
    SUCCESS_LOGIN(11,"登录成功！！"),
    NOT_LOGIN(12,"未登录!"),
    NOT_USER(13,"不存在这个用户！"),
    NOT_PASSWORD(14,"密码不正确！"),
    ERROR(15,"操作失败！"),
    ERROR_SYSTEM(16,"系统错误!"),
    ERROR_Inquire(17,"查询失败！"),
    ERROR_NAME_PASSWORD(21,"用户名或密码不正确！");





    private int code;
    private String desc;

    ResponseCode(int code,String desc){
        this.code = code;
        this.desc = desc;
    }

    public int getCode(){
        return code;
    }

    public String getDesc(){
        return desc;
    }
}
